package vip.yugu.interview;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
public class InterviewController {

    @Autowired
    private InterviewService interviewService;

    @RequestMapping
    public ModelAndView index() {
        return new ModelAndView("index", "indexData", interviewService.indexData());
    }

}
